package com.zhuss.bean.vo.team.question;

import com.zhuss.bean.unit.team.ChooseBean;
import com.zhuss.common.AbstractVo;
import com.zhuss.util.JsonUtil;

import java.util.Date;
import java.util.List;

/**
 * @Author: zhushanshuo
 * @Date: 2020/3/26 14:49
 */
public class ListQuestionVo extends AbstractVo {

    private Long questionId;

    private String questionName;

    private Integer investGroup;

    private String investGroupName;

    private String questionChoose;

    private Integer type;

    private Integer sort;

    private Integer area;

    private String creator;

    private Long creatorId;

    private Date createTime;

    private String modifier;

    private Long modifierId;

    private Date modifyTime;

    private Integer deleted;

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public Integer getInvestGroup() {
        return investGroup;
    }

    public void setInvestGroup(Integer investGroup) {
        this.investGroup = investGroup;
    }

    public String getInvestGroupName() {
        return investGroupName;
    }

    public void setInvestGroupName(String investGroupName) {
        this.investGroupName = investGroupName;
    }

    public List<ChooseBean> getQuestionChoose() {
        List<ChooseBean> result = JsonUtil.fromJsonList(questionChoose, ChooseBean.class);
        return result;
    }

    public void setQuestionChoose(String questionChoose) {
        this.questionChoose = questionChoose;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
